package com.xlf.common.core.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 文件类型枚举
 */
@Getter
@AllArgsConstructor
public enum FileTypeEnum {

    //1.文件夹 2.文本 3.图片 4.音乐 5.视频 6.文档 7.其他 8.压缩包

    FOLDER(1,"文件夹"),

    TEXT(2,"文本"),

    IMAGE(3,"图片"),

    MUSIC(4,"音乐"),

    VIDEO(5,"视频"),

    DOC(6,"文档"),

    OTHER(7,"其他类型"),

    PACK(8,"压缩包");


    /**
     * 类型
     */
    private final int type;

    /**
     * 名称
     */
    private final String name;


}
